# coding: utf-8
from pathlib import Path
import shutil

PATH = Path(__file__).parent

for file in PATH.glob('**/*.svg'):
    svg_content = file.read_text(encoding='utf-8')
    # fill = "currentColor"
    svg_content = svg_content.replace('fill="#000000"', 'fill="#ffffff"')
    white = PATH / 'white' / file.name
    white.write_text(svg_content, encoding='utf-8')

